import { PdfJs } from "../interface";
import Slot from "./Slot";
import { ReactElement } from "react";

interface RenderPageProps {
  annotationLayer: Slot;
  canvasLayer: Slot;
  doc: PdfJs.PdfDocument;
  height: number;
  pageIndex: number;
  rotation: number;
  scale: number;
  svgLayer: Slot;
  textLayer: Slot;
  width: number;
}

export type RenderPage = (props: RenderPageProps) => ReactElement;
export default RenderPageProps;
